package com.ray.life;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

public class NewsOverlayItem extends OverlayItem {
    private GeoPoint mPoint;
    private News mNews;

    public NewsOverlayItem(GeoPoint point, News news) {
        super(point, news.getTitle(), news.getDate());
        mPoint = point;
        mNews = news;
    }

    public News getNews() {
        return mNews;
    }

    public GeoPoint getPoint() {
        return mPoint;
    }
}
